
Ext.define("PrjAPLean.view.bcd.poquery.ResultTable",{
    extend: "Ext.grid.Panel",

    requires: [
        "PrjAPLean.view.bcd.poquery.ResultTableController",
        "PrjAPLean.view.bcd.poquery.ResultTableModel"
    ],

    controller: "bcd-poquery-resulttable",
    viewModel: {
        type: "bcd-poquery-resulttable"
    },

    columns: [{
        text: "PO No",
        dataIndex: "PONo",
        flex: 1
    }, {
        text: "Status",
        dataIndex: "Status",
        flex: 1
    }, {
        text: "Region",
        dataIndex: "Region",
        flex: 1
    }, {
        text: "Category",
        dataIndex: "Category",
        flex: 1
    }, {
        text: "Function Team",
        dataIndex: "FunctionTeam",
        flex: 1
    }, {
        text: "Acitivity Group",
        dataIndex: "AcitivityGroup",
        flex: 1
    }, {
        text: "Project Budget",
        dataIndex: "ProjectBudget",
        flex: 1
    }, {
        text: "Used",
        dataIndex: "Used",
        flex: 1
    }, {
        text: "Available",
        dataIndex: "Available",
        flex: 1
    }, {
        text: "PA Owner",
        dataIndex: "PAOwner",
        flex: 1
    }, {
        text: "Date",
        dataIndex: "Date",
        flex: 1
    }]
});
